package practice;

import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public class TC3 {
	@Test
	public void shouldAbleToNavigate() throws InterruptedException{
		
		WebDriver driver=new FirefoxDriver();
		driver.manage().window().maximize();
		driver.get("http://google.co.uk");
		driver.findElement(By.name("q")).clear();
		driver.findElement(By.name("q")).sendKeys("Charles Periyanayagasamy");
		driver.findElement(By.name("btnG")).click();
		Thread.sleep(5000);
		driver.close();
	}
	

}
